package com.nanhai.buddhist.college.module.study.convert.studytime;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.studytime.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.studytime.StudyTimeDO;

/**
 * 教学计划时间 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface StudyTimeConvert {

    StudyTimeConvert INSTANCE = Mappers.getMapper(StudyTimeConvert.class);

    StudyTimeDO convert(StudyTimeCreateReqVO bean);

    StudyTimeDO convert(StudyTimeUpdateReqVO bean);

    StudyTimeRespVO convert(StudyTimeDO bean);

    List<StudyTimeRespVO> convertList(List<StudyTimeDO> list);

    PageResult<StudyTimeRespVO> convertPage(PageResult<StudyTimeDO> page);

    List<StudyTimeExcelVO> convertList02(List<StudyTimeDO> list);

}
